]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tests/shell: Add a super minimal test
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 31 Oct 2025 03:11:15 +0000 (04:11 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 3 Nov 2025 12:14:29 +0000 (12:14 +0000)
While it only starts the shell, waits for startup being completed and
return, it's relevant to check the shutdown process in this phase and
to ensure that we cleanup things as expected

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3943>

tests/meson.build
tests/shell/minimal.js [new file with mode: 0644]

index ec8a5b4a274ee518092960de705a6d3c299adf5a..f51d1e8c24f09c4cdb89f38298e06365a5b4be26 100644 (file)
@@ -76,6 +76,9 @@ foreach test, extra_args : unit_tests
 endforeach
 
 shell_tests = [
+  {
+    'name': 'minimal',
+  },
   {
     'name': 'basic',
   },
diff --git a/tests/shell/minimal.js b/tests/shell/minimal.js
new file mode 100644 (file)
index 0000000..86fb909
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * init:
+ */
+export function init() {}
+
+/**
+ * run:
+ */
+export function run() {}
+
+/**
+ * finish:
+ */
+export function finish() {}